<template>
	<!-- 简单导航 -->
	<SimpleNav />
	<div class="find-pwd">
		<el-form :model="form" label-width="auto">
			<h1>找回密码</h1>
			<el-form-item label="邮箱">
				<el-input v-model="form.email" size="large" placeholder="请输入邮箱账号">
					<template #suffix>
						<el-icon :size="26">
							<Message />
						</el-icon>
					</template>
					<template #append>
						<el-button style="width: 100px;">获取验证码</el-button>
					</template>
				</el-input>
			</el-form-item>
			
			<el-form-item label="验证码">
				<el-input v-model="form.code" size="large" placeholder="请输入验证码" />
			</el-form-item>


			<el-form-item label="真实姓名">
				<el-input v-model="form.name" type="text" size="large" placeholder="请输入真实姓名">
					<template #suffix>
						<el-icon :size="26">
							<User />
						</el-icon>
					</template>
				</el-input>
			</el-form-item>

			<el-form-item label="新密码">
				<el-input v-model="form.password" type="password" size="large" placeholder="请输入新密码">
					<template #suffix>
						<el-icon :size="26">
							<Unlock />
						</el-icon>
					</template>
				</el-input>
			</el-form-item>

			<el-form-item label="确认密码">
				<el-input v-model="form.password2" type="password" size="large" placeholder="请再次输入密码">
					<template #suffix>
						<el-icon :size="26">
							<Unlock />
						</el-icon>
					</template>
				</el-input>
			</el-form-item>

			<el-form-item>
				<el-button type="primary" size="large" style="width: 100%;" @click="handleAction">找回密码</el-button>
			</el-form-item>
		</el-form>
	</div>
</template>

<script>
	import SimpleNav from '@/components/SimpleNav.vue'
	export default {
		components: {
			SimpleNav,
		},
		data() {
			return {
				form: {
					tel: '',
					name: '',
					code: '',
					email: '',
					password: '',
					password2: '',
				}
			}
		},
		methods: {
			handleAction() {

			}
		}
	}
</script>

<style scoped>
	.find-pwd {
		border-radius: 20px 0 0 20px;
		padding: 30px;
		
	}

	.find-pwd .el-form {
		background-color: #f0f0f0;
		height: 560px;
		width: 900px;
		padding: 30px 50px;
		margin: 100px auto;
		border-radius: 10px;
	}

	.find-pwd h1 {
		height: 60px;
		border-bottom: 3px solid #fff;
		margin: 30px 0;
	}
</style>